﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;

namespace ASPNETVN.PORTAL.Controls
{
    public class NavigatorBar : WebControl, INamingContainer
    {
        private object _DataSource;

        public object DataSource
        {
            get { return this._DataSource; }
            set { this._DataSource = value; }
        }

        public override void DataBind()
        {
            base.OnDataBinding(EventArgs.Empty);
            Controls.Clear();
            ClearChildViewState();
            TrackViewState();

            ChildControlsCreated = true;
        }

    }
}
